package org.springblade.modules.repair.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Date 11:28 2022/7/25
 * @Description {
 *   工单工时趋势对比
 * }
 * @Author lsay
 **/
@Data
public class CheckPlanTrendVO {

	private String label;

	private Double value;

	private Double average;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	private String name;

	private List<CheckPlanTrendVO> item;

	/**
	 * 总时长 h
	 */
	private Double durationTotal;

	/**
	 * 平均时长 min
	 */
	private Double durationAverage;

	/**
	 * 待开始
	 */
	private Integer statusDisable;

	/**
	 * 进行中
	 */
	private Integer statusProcessed;

	/**
	 * 已提交
	 */
	private Integer statusFinish;

	/**
	 * 签字完成
	 */
	private Integer statusSign;

	/**
	 * 及时
	 */
	private Integer timelinessInTime;

	/**
	 * 逾期
	 */
	private Integer timelinessOverdue;

	/**
	 * 正常
	 */
	private Integer durationNormal;

	/**
	 * 过长
	 */
	private Integer durationTooLong;

	/**
	 * 过短
	 */
	private Integer durationTooShort;

	/**
	 * 签到正常
	 */
	private Integer signNormal;

	/**
	 * 签到异常次数
	 */
	private Integer signError;

	/**
	 * 签退异常次数
	 */
	private Integer signOutError;

	/**
	 * 系统代签次数
	 */
	private Integer signSystem;

	private Date recordDate;

}
